package com.lc.pianostudent.wxapi;

import android.content.Context;

import com.module.weixin.WXPay;


/**
 * Created by Administrator on 2016/3/1. 微信支付
 */
public class WeiXinPay extends WXPay {

    private String url;

    public WeiXinPay(Context context) {

        super(context);

    }

    @Override
    protected String appId() {

        return "wx08577117ba7ac6af";

    }

    @Override
    protected String mchId() {

        return "1511685791";

    }

    @Override
    protected String apiKey() {

        return "qinzhiyugangqinpeilianqinzhiyuga";

    }

    /*@Override
    protected String notifyUrl() {

        return "http://88chuchengapp.cn/index.php/Api/WeiXinpay/notifyurl";

    }*/
    @Override
    protected String notifyUrl() {

        return url;

    }

    @Override
    protected String spbillCreateIp() {

        return "127.0.0.1";

    }

    public WeiXinPay setNotifyUrl(String url) {

        this.url = url;

        return this;

    }

}
